﻿using BCDto.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.Agent.AgentCurrentlyProtocolAttachment
{
    /// <summary>
    /// 代理商现行协议附件请求模型信息
    /// </summary>
    public class AgentCurrentlyProtocolAttachmentRequestDto
    {
        /// <summary>
        /// 附件地址
        /// </summary>
        [Display(Name = "附件地址")]
        [Required(ErrorMessage = "{0} 为必填项")]
        [FileType(new string[] { "jpg","jpeg","png", "doc", "docx", "xls", "xlsx", "csv", "ppt", "pptx" })]
        public string AttachmentAddress { get; set; }

        /// <summary>
        /// 附件顺序
        /// </summary>
        [Display(Name = "附件顺序")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public int AttachmentOrder { get; set; }
    }
}
